package edu.lingnan.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @ClassName CollegeReq
 * @Description TODO
 * @Author kang
 * @Date 2022/7/11 下午 6:39
 * @Version 1.0
 */
@Data
@ApiModel("修改学院名需要传来的参数")
public class CollegeReq {
    @ApiModelProperty(name = "id",  value = "需要修改的学院ID", required = true)
    @JsonProperty("id")
    private Integer id;
    @ApiModelProperty(name = "name", value = "修改后的名字", required = true)
    @JsonProperty("name")
    private String name;
}
